package com.parenting.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@ApiModel(value = "GoldAdminResponse对象", description = "我的金币记录")
public class GoldAdminResponse implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "金币数量")
    private BigDecimal goldNum;

    @ApiModelProperty(value = "获得方式")
    private String getWay;

    @ApiModelProperty(value = "获得方式类型 1:分享2:参与拼团3:评论被采纳4:文章评价")
    private Integer getWayType;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createdBy;
    /**
     * 创建人ID
     */
    @ApiModelProperty(value = "创建人ID")
    private Long createdById;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "用户手机号")
    private String createdPhone;

    @ApiModelProperty(value = "用户ID")
    private String accountNum;
}
